Simplify Agents session header - #331097
Draft
Rohan Malpani (romalpani) wants to merge 1 commit into
Draft
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Simplifies the Agents Window header by replacing the session picker with passive active-session identity and consolidating in-content metadata and actions.
Changes:
- Displays provider, session title, and workspace in the titlebar.
- Conditionally shows navigation when the sidebar is hidden.
- Removes inline header titles and routes rename through the shared command.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
sessionsTitleBarWidget.fixture.ts |
Updates visual fixtures for passive identity states. |
sessionHeader.test.ts |
Verifies the consolidated header row. |
LAYOUT.md |
Documents the revised titlebar and blocked-session behavior. |
sessionsTitleBarWidget.test.ts |
Tests active and draft identities. |
sessionsTitleBarWidget.ts |
Implements passive session identity. |
sessionsActions.ts |
Adjusts navigation visibility and rename routing. |
sessionsTitleBarWidget.css |
Restyles the titlebar identity. |
sessionView.ts |
Removes inline title-editing entry point. |
sessionHeader.ts |
Removes duplicate title and inline rename UI. |
chatCompositeBar.css |
Consolidates metadata and actions into one row. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| background-color: transparent; | ||
| border-radius: var(--vscode-cornerRadius-medium); | ||
| border-radius: var(--vscode-cornerRadius-small); | ||
| -webkit-app-region: no-drag; |
Comment on lines
+124
to
+128
| this._metaRow = $('.chat-composite-bar-meta-row'); | ||
| header.appendChild(this._metaRow); | ||
|
|
||
| const titleActions = $('.chat-composite-bar-title-actions'); | ||
| titleRow.appendChild(titleActions); | ||
| header.appendChild(titleActions); |
Rohan Malpani (romalpani)
requested a review
from Sandeep Somavarapu (sandy081)
August 16, 2026 18:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem: Top section of Agents window is crowded with actions, redundant information (session title), non-primary actions at surface, and vertical stacking of too many horizontal rows of information (command bar, session title+actions, session pills, chat tabs, sticky prompt, etc.) that results into cognitive load and difficulty in scanning key session information.
Solution:
Replaces the Agents Window command-center session picker with passive active-session identity while keeping session commands in the content header for this first stage. Command-center search is duplicative in its functionality since the left pane already offers session navigation. This also reduces session title redundancy for most common scenarios when users have only one chat per session.
This is part1 of series of PRs to implement the full solution to address the Agents window cognitive load issue.
(Stacked: romalpani#2 Move session actions to the title menu)
(Stacked: romalpani#3 Add inline session title rename)
In this PR:
New sessionfor draftsBefore (left pane + chat pane open):

After (left pane + chat pane open):

Before (left pane collapsed):

After (left pane collapsed):
![Uploading CleanShot 2026-08-16 at 10.57.30@2x.png…]()
Testing:
npm run transpile-clientSessionsTitleBarWidgetandSessionHeaderunit tests (6 passed)